
page {
  height: 100%;
  --theme: #FF597A;
  --safe-area-inset-bottom: 44rpx;
}
image {
  vertical-align: middle;
}
// 固定填满布局
.fixed-view {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
/* 字体换行 */
.text-ellipsis,
.text-ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  word-break: break-all;
}
.text-ellipsis {
  -webkit-line-clamp: 1;
}
.text-ellipsis-2 {
  -webkit-line-clamp: 2;
}
// 粗字体
.fw700 {
  font-weight: 700;
}
// 细字体
.fw400 {
  font-weight: 400;
}
// 点击手势
.gesture--click {
  cursor: pointer;
}
// 移动手势
.gesture--move {
  cursor: move;
}
// 纵向滑动
.vertical-swipe {
  overflow-x: hidden;
  overflow-y: auto;
  &::-webkit-scrollbar {
    display: none;
  }
}
// 不可选中文本
.disable-select {
  -webkit-user-select: none;
}
// 字体图标
.iconfont {
  line-height: 1;
}
// 可以识别文字的换行
.text-space {
  white-space: pre-wrap;
}
// 弹性布局
.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.flex-col {
  flex-direction: column;
}
.just-sb {
  justify-content: space-between;
}
.just-center {
  justify-content: center;
}
.just-sa {
  justify-content: space-around;
}
.just-normal {
  justify-content: normal;
}
.align-sb {
  align-content: space-between;
}
.align-center {
  align-items: center;
}
.align-normal {
  align-items: normal;
}
.align-start {
  align-items: flex-start;
}
.align-end {
  align-items: flex-end;
}
.flex-warp {
  flex-wrap: wrap;
}
.tac {
  text-align: center;
}
// 清除浮动
.clearfix {
  &:after {
    content: "";
    display: block;
    height: 0;
    clear:both;
    visibility: hidden;
  }
}
.iphoneX-bottom {
  padding-bottom: var(--safe-area-inset-bottom)!important;
}